<template>
  <div class="code-show">
    <pre>{{ code }}</pre>
  </div>
</template>

<script>
export default {

    mounted(){
        console.log(' --- this.$route --- ', this.$route);
    },
  computed:{
      code(){
          return this.$route.params.code
      }
  }
};
</script>

<style>
</style>